home *** CD-ROM | disk | FTP | other *** search
- Path: keats.ugrad.cs.ubc.ca!not-for-mail
- From: c2a192@ugrad.cs.ubc.ca (Kazimir Kylheku)
- Newsgroups: comp.lang.c
- Subject: Re: Bus error
- Date: 6 Mar 1996 21:18:15 -0800
- Organization: Computer Science, University of B.C., Vancouver, B.C., Canada
- Message-ID: <4hlrinINN8sf@keats.ugrad.cs.ubc.ca>
- References: <DnuvJG.CA5@cdf.toronto.edu> <4hlqcd$gqj@newsflash.hol.gr> <4hlii4$692@cloner2.ix.netcom.com>
- NNTP-Posting-Host: keats.ugrad.cs.ubc.ca
-
- In article <4hlii4$692@cloner2.ix.netcom.com>,
- Scott Fluhrer <sfluhrer@ix.netcom.com> wrote:
- >sakarab@promitheus.hol.gr (Sam Mardirosian) wrote:
- >>a488load@cdf.toronto.edu (Lo Adley) wrote:
- >>>
- >>> Could you tell me what 'bus error' means?
- >>
- >>Your code is trying to read an int/long on odd addresses (as far as I
- >>can remember) and your proccessor does not support this (possibly
- >>MC680x0).
- >Incorrect. On a 68000/68008/68010, accessing an int/long on an odd
- >address causes an *address* error. A bus error was originally an error
-
- You are mixing levels. The discussion is about a program-level signal, not a
- processor-specific exception type. The 680x0 address error you describe
- reasonably maps onto a SIGBUS signal at the C level.
- --
-
-